In this section, we're going to look at branching our cloned repository and pushing those changes to our server.
Branching our Git repository and committing changes
Getting ready
Ensure that you've run through at least the setup section, but preferably the section where you committed your first file, too.
All work will be done on centos1, in the example repository.
How to do it...
Change into the example repository:
$ cd ~/example
Now, check that you're on master to start:
$ git branch
* master
Your current branch is denoted with an asterisk.
Good! Now,...