Clone a remote repository on your PC.
git clone user@example.com:myproject.git
Browse the branch where you would like to add these files.
cd myproject
git checkout -b my_new_branch
Move the files to the project directory, then add and copy them.
git add .
git commit -m "new files for my new branch"
You probably want to click too.
git push origin my_new_branch
John douthat
source share