When you use Git to manage your code changes, you create a directory on your local computer for each branch that you wish to work with. This is in addition to the set files that exist at github.com.
Once you have made changes to the files, the following procedure will move the changes to the copy at github.com.
git add .
will insure that all of the files
are marked for management.git commit -a -m "my comments"
will
locate all of the modified files and mark them as committed. The text
after the -m
operator will become the message Git
uses to describe the commit.git push origin branch
where branch is the name of the branch to be processed.
On my system, the branches are master for the project
and gh-pages for the documentation.