Links
How to Write a Git Commit Message.
How to discover a bug using git bisect.
Git hook managers are very useful if you want to ensure code is formatted/tests are run before you can commit, and you can even prevent comitting if the fail.
overcommit - A fully configurable and extendable Git hook manager.