Added new git methods, fixed old ones.