I use git to build my website. In my local WAMP environment I add my final changes, adds, commits and push them to Github:
git add .
git commit -m "my message"
git push origin my_dev_branch
Then (still locally) I create a production tag with:
git tag prod_20160816
... and push it to the remote Github repo too.
git push prod_20160816
After that I login on my remote server with Putty and run:
git pull
git checkout prod_20160816
git status
Now to my question. After that last row I get the message "Not currently on any branch" (among other info). Is this what is called a detached HEAD state? And most important... is it normal to use this state on the production site?