git branch feature
git checkout feature
ovidiu@cloudshell:~/ovi-demo (dev-175816)$ git log –oneline –decorate
5fba906 (HEAD -> qa, master) second commit
5f9ea2c second change2
4a3bccb second change
9a29768 (origin/master) first commit
cb02358 first commit
View all Local git Branches
ovidiu@cloudshell:~/ovi-demo (dev-175816)$ git branch
master
* qa
ovidiu@cloudshell:~/ovi-demo (asixdev-175816)$
ovidiu@cloudshell:~/ovi-demo (dev-175816)$ git branch -v
master 5fba906 [ahead 3] second commit
* qa 5fba906 second commit