git branch
git clone repo_location
git pull origin branch_name
git push origin branch_name
git commit -S[GPG key]
git merge brach_to_merge --no-commit --no-ff
git status
git stash
git stash apply
Removes the file from the repo (after this commit has to be done) and file is not removed from current working area.
git rm --cached <filePath>
Will unstage any staged changes for the given file(s).
git reset -- <filePath>
Pull from current branch.
git pull origin $(git branch | awk '/*/ {print $2}')
create a new branch with current branch contents.
git checkout -b new_branch
remove file(s) from index
git reset PATH
add git remote
git remote add origin url_remote
verify git remote
git reote -v