Noob at Git version control here.
I have a repository, currently with one branch named "master". It has the code pertaining to the repository, obviously. Now I have made a different implementation of the same code, but I would like to maintain them in the same repository, but in completely different branches. They will even have separate README files. They will never be merged.
I tried creating a new branch "B" and renamed the "master" branch to "A", checked out to B, added the new files individually to the new branch and pushed them, but when I checked my repository it had all the old files + my new files in the new branch. I just want the new files in the new branch. I'm at a complete loss what to do.
I'm doing all this experimentation in a private test repository so there are no actual permanent changes.
Any help would be appreciated.