Turn a non-bare repo into a bare one Lets assume we have a local repo called my-shell-stuff. cd my-shell-stuff mv .git ../my-shell-stuff.git cd ../my-shell-stuff.git git config --bool core.bare true