Add some new git related functions