I have a small project on my laptop under Git. The remote, bare repository is on an SD card.
I have decided to move the remote to Bitbucket so I followed this Bitbucket doc:
Import an existing Git project into Bitbucket Server
This doc tells me to add the remote repository from a bare one, so I CD onto the SD card and then issued the "add remote"; this worked. (If I had not had the bare remote locally the doc tells me to clone the existing remote first as a bare remote.)
But I also tried the same command from the working repository which also seemed to work.
Sometimes it's helpful for docs to explain why an obvious path is not the correct way to the one described.
So, please, what is the difference between the two methods?