![version control - What is the difference between "git init" and "git init -- bare"? - Stack Overflow version control - What is the difference between "git init" and "git init -- bare"? - Stack Overflow](https://i.stack.imgur.com/xeHHg.png)
version control - What is the difference between "git init" and "git init -- bare"? - Stack Overflow
![git clone --mirror <repo1> gives empty branches folders, ojects, tags, heads, but when using git push --mirror <repo2> repo has all it files? Then when expecting What sort of black magic is git clone --mirror <repo1> gives empty branches folders, ojects, tags, heads, but when using git push --mirror <repo2> repo has all it files? Then when expecting What sort of black magic is](https://preview.redd.it/gq3q76ax0i191.png?width=678&format=png&auto=webp&s=80e7a9c75a0e2008a61ab6cf9b73f663725404d3)
git clone --mirror <repo1> gives empty branches folders, ojects, tags, heads, but when using git push --mirror <repo2> repo has all it files? Then when expecting What sort of black magic is
![version control - What is the difference between "git init" and "git init -- bare"? - Stack Overflow version control - What is the difference between "git init" and "git init -- bare"? - Stack Overflow](https://i.stack.imgur.com/JQrTT.png)