I am new to git and github. I thought I understood the basics. But now I am confused. Because of problems with my computer I changed to another one and did a git clone from github. Then I wanted to switch branches and typeched checkout branch. This way I also did it on the other computer earlier.
"But I got the following error: Your local changes to the following files would be overwritten by checkout:"
MANY FILES
"Please, commit your changes or stash them before you can switch branches."
How can they be changed just after cloning?