We are using Git but I have never created any branches for my projects. Now my current branch is terribly cluttered with so many files from different projects, both modified and untracked. Is there a way that I can move file(s) from my current branch into other new ones?
Also, if I do a git checkout -b branch2
, what would happen with my current modified and untracked files? I keep seeing conflicting information about them disappearing, specifically with the untracked, so I'm not sure how to proceed since I don't want to lose anything.
Edit: The suggested question doesn't quite cover how to perform this enmasse, nor does it answer my other question, but it IS helpful.