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