A deliberately minimal set of commands for using GIT as simply as possible. Note:
git initgit statusgit add .git commit -m "describe change"git statusgit remote add origin URL_of_remote_repo_heregit remote -vgit push -u origin mastergit clone URL_of_remote_repo_heregit add .git commit -m "describe change"git statusgit pushgit checkout -b branchname_heregit add .git commit -m “describe change”git push -u origin branchname_heregit checkout mastergit diff master branchname_heregit merge branchname_heregit branch -a (lists all branches)git branch -d (use -D to force delete)git log --pretty=onelinegit fetch origin (override local changes)git reset --hard origin/mastergit checkout -- filename_here (restore previous version of file)git reset —hard HEAD~ (revert to previous commit)git clone URL_of_remote_repogit remote set-url origin URL_of_NEW_repogit remote -v