use 'git checkout' to change tag, instead of 'git commit --branch'