make install.sh work with all git configurations

Hi

install.sh is not working on my laptop.
Code below might be a more standard way to checkout the wanted tag
Hello,
I was wrong, the script works well, I've been disturbed by git message "You are in 'detached HEAD' state ... " letting me think that installation has failed. Creating a local branch just avoid this long disturbing message.
Sorry about that.