Fixed version template to work with more than 1 git branch