I had this issue that the output of git branch used to be
* (no branch)
master
Then I committed the changes and switched to the master branch, by running
git checkout master
Now I have to get back some files in *(no branch). How can I do that? The application is in production and has several changes, but I can't access...