I migrated servers for my files but when I did, somehow the git config files were missing.
I did a git init and set the remote url to the proper repo, but even after a git fetch, it is not on the master branch and I'm unable to switch to the master branch so git recognizes all of the files as new.
How do I get git to recognize the current files as part of the master branch?
I can't do a git clone to start over because I've already since added code to the files and need to keep the changes.