Создание веток
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (master)
$ git branch branch2
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (master)
$ git branch -v
branch2 daa7ef2 other user
* master daa7ef2 other user
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (master)
$ git checkout branch2
Switched to branch 'branch2'
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (branch2)
$ git branch -v
* branch2 daa7ef2 other user
master daa7ef2 other user
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (branch2)
$ git checkout -b branch3
Switched to a new branch 'branch3'
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (branch3)
$ git branch -v
branch2 daa7ef2 other user
* branch3 daa7ef2 other user
master daa7ef2 other user
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (branch3)
$ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
anchikin@outlook.com@Asus MINGW64 /d/apache/htaccess/www (master)
$ git branch -v
branch2 daa7ef2 other user
branch3 daa7ef2 other user
* master daa7ef2 other user