Cambiar a una rama
Acaba de crear una rama ahora tendrá que cambiar a esa rama para añadirle nuevos commits.
Use el comando git checkout para cambiar a la rama issue1
.
$ git checkout issue1
Switched to branch 'issue1'
Ahora, nuestra historia se parece a esto:

Utilice la opción -b
para crear una nueva rama y cambiar a ella con un solo comando.
Ahora, vamos a añadir un commit. Añada el texto en negrita al archivo myfile.txt
.
Anyone can learn Git with this tutorial and Backlog
add: Register a change in an index
Y confirme el cambio.
$ git add myfile.txt
$ git commit -m "append description of the add command"
[issue1 b2b23c4] append description of the add command
1 files changed, 1 insertions(+), 0 deletions(-)
Ahora la historia se parece a esto:
