mkdir repo && cd repo git remote add origin /path/to/origin.git git add . git commit -m "initial commit" git push origin master