git init
git status
git add [filename] (add to staging area)
git add -A (add all to staging)
git reset [filename] (remove from staging)
git commit -m “message” (commit from staging)
git commit -a -m “message” (stage and commit)
git clone <url> <where to clone>
git remote -v (information on remotes)
git branch -a (branch information)
git diff (show changes)
git pull origin mater (Pull to update before push)
git push origin master (push to origin)
git branch <feature name> (Create a new branch for feature)
git checkout <feature name> (checkout the branch)
git status
git add -A
git commit -m “message”
git push -u origin <feature name>
git checkout master (switch to master)
git pull origin master (update any changes made remotely)
git branch —merged (list branches already merged)
git merge <feature name> (merge current with specified)
git push origin master (push to remote)