git add file.txt : Add the specified file to the repo
git blame file.txt : Shows who made the last change for each line in the specified file
git branch BranchName : Create a branch with the specified name
git checkout BranchName : Switch the current branch to BranchName
git clone https://example.com : Copies a repo to the current location
git commit -m “Message” : Commit all changes to the repo, with the specified message
git config –global user.email “your_email@example.com” : Set user email for Git
git config –global user.name “Your Name”
git fetch : Pull down any changes to the origin
git help CommandName : Return help for a specified CommandName
git init : Create a new repo at the current location
git merge : Apply any fetched changes into the local repo
git pull : Fetch and Merge together
git push origin main : Send the local commits back to the origin repo (Main in this case)
git stash push : Moves all changes out of the repo into a holding area – use the pop option to restore
git status : Shows all changes
git version : Return the version number for Git