What I am looking for is the following:
There is a remote git repository on Github that has multiple branches besides the master branch.
With that set as the remote of my local git, I would like to be able to pull all of those branches into separate directories, and be able to run git commands for all of them while in the main/master directory that has record of them.
So, for example, these are the branches in the remote repository:
Master
Branch1
Branch2
Branch3
Say then I make the following commands:
mkdir somedir
git init
git remote ... blah blah
So, I connect the remote to the initialized repo, from there I would like to be able to fetch and pull the branches, but instead of it being in somedire
I want them and the code in them separated into directories of their own.
From there, I would able to commit, merge, or do whatever with the branches and have it reflect on the local directories as well as be able to push to the remote.
I do not really know I should look at, but how should I go about doing this?