Adds Git and commit rules