create branch from tag github code example Example: git create branch from tag git checkout -b newbranch v1.0