well, i have just made a huge mistake.
I am working on a project, and thought i was working in the master branch.
So i added the files i needed, commited them and when i tried to push to origin i got
Everything is up to date
I used git branch and got
* (no branch)
* master
So, in stress, i stashed the pending changes in (no branch) and checked out master. Now i lost all my changes, because i can't checkout the branch "that shall not be named". When i list the branches i only have
* master