Here is a reference list of some useful GIT commands which I use including GIT Aliases commands. If you know of or use any which are not here please post a comment so I can add them to help others! :)
GIT Bash for Windows (formerly known as GitWin) is shell command line tool for Windows users. It is essentially a Windows port of GNU bash “Minimalist GNU for Windows” (see msysgit projects website for more details).
Download GIT Bash
Useful GIT Commands
Show all branches.
Load GITK (Generalized Interface Toolkit) Good for seeing what changes have been made and who by in a nice interface.
Add (if applicable) and commit changes with a message.
Search the tree contents for specific phrase and filetype. ie find the word “CSS” in all .js files.
Create a zipped backup of the current branch.
View local GIT config.
Useful GIT Alias Commands
GIT Alias Commands can save you heaps of time typing in long-winded commands into your GIT CMD. They basically map a long command into whatever shorthand version you wish. They also can be configured to prettify/colorify your results. Official post on git alias commands. Also see: Must Have Git Aliases: Advanced Examples.
Show a pretty git log history.
usage: $ git history
Show the last commit.
usage: $ git last
Reset to state of your last commit.
usage: git resetlast