fix git repo permissions