By “source”, I mean everything, the audio, the models, textures, the actual code and so on. I mainly want to use git so I can develop the game with my friends, and I’m using the free version of Git, but I intended for the game to be open-source anyway. Will there be a problem if the actual game content gets to a few gigabytes? Will I have to somehow exclude it from the repo and share it in another fashion at some point?
EDIT: I’m talking both about the actual cli software called Git, and the service called Github, which seem to go together. I plan to use git locally, and then push it to Github for my friends to download.
Git is efficient for working with large histories, but could be inefficient in dealing with large files. Also, you’ll have somewhat limited benefits from storing (large) binary files in Git. That being said, if your images, sounds, textures, … aren’t too big, you should be OK to have them managed in Git.
You might also want to separate your “assets” (images, sounds, textures, … stuff that’s not source code) into a separate git repository (included as a submodule in your source code repository), so that the later doesn’t get too clunky.