I need to clone a project with independent branches (as it is on GITHUB). The problem is that when I use the "git clone" command it clones me a single branch with the files merged from all the branches . That is, it does not clone the project with the independent branches.
First clone your repository
observe your branches with
If you have many remote branches you can do:
After doing the git clone, if a git branch is done, it will only show that the main branch exists (or the original one where the entire project is saved) but when placing git branch and "the name of the branch that should exist" it appears and when doing the next git branch will appear as well.