How to add project folder from my local machine to a git repository on Azure using GIT?
In the local directory for the root of the project
git init
git remote add origin <URL for Azure Git repo>
git add .
git commit -m 'initial commit'
git push -u origin master
I know these commands after doing a basic research on stack-overflow but my question is, if we have a branch named "dev" and I create a folder named "sandbox" in that branch, so if I want to add my project in that particular folder can I do just by copying the https link by going to that folder and what should be typed in
git push -u origin master
instead of master? Do I have to write "dev" as this is the branch I will be pushing my code in?