I downloaded the latest code of a repositiry as zip but now I want to be able to work with branches too.
Is there anyway I can use the folder as a git repository just l
You have to first initialize the folder as a GIT repo and then add the remote. For example:
cd folder git init . git remote add origin https://github.com/user/repo.git
And then resync with git pull.