Suppose there is a remote branch with a project called project , and I need to copy this project locally.
I created an empty folder, let test-project , in the console enter
git init being in this folder. Then I enter in the console
git clone http://bitbucket.org/project.git As a result, another project folder is created in the test-project folder with the project.
And I need the project to be copied to the test-project folder, i.e. so that the additional project folder is not created, which also has its own .git folder
It turns out that there will be two .git folders (in the test-project folder and in the project folder)
How to copy the project correctly, so that later local changes can be thrown back to the remote branch, zakomitit