Setting up monogame project from source. Git question

I found this documentation (see link below) about setting up monogame project from source. It says to clone to project with following command. Does that clone command download the master branch or the develop branch? I’m not a heavy git user so this is a little confusing to me.

git clone https://github.com/MonoGame/MonoGame.git

https://jjagg.github.io/MonoGame-docfx/manual/introduction/setting_up_monogame_source.html

clone downloads the whole repository. It contains the current state of the default branch (which should be develop) as well as the changes required to go back to any point in history, and the changes required to switch to any other branch. Note that it only keeps a record of the changes (not the entire contents of each branch or point in history) which is how it can store all this information so small.

To view all branches, with the current branch starred: git branch

To check out a different branch: git checkout <branch name>

There are tons of simple guides and quick references online for git. I recommend taking a quick look at one of those to get started.

1 Like

Of course, I should have known that. Thanks for clearing that up for an oldtimer who has ptsd from using MS SourceSafe.