Rebuilding git repo