added git functions from thoughtbot