first you add a new repository, pass git remote add local /opt/drive1/blah then: pass git push local to push changes to the repo in /opt/drive1/blah