custom git stuff thanks to others