rebuild git repo