git remote repository with bare Posted on Dec 1, 2023 if you want a remote repository and put local source into remote, you need to set up remote repository with “git init bare . “, not “git init .” link1, link2