Source control on GitHub - please give overview

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By yedi
:warning: Old Version Published before Godot 3 was released.

Please, give a big picture, how the GitHub source control work.

If I will download branch 2.0, then, Is this 2.0 version or 2.0.1 version?
The Master branch, is this latest commit?

New pull request, what exactly does this mean ?

Is it make sense, download latest Master branch and work with latest version? (So many changes fixed every day - this make me feel that I always behind)
etc.

Thank you in advance.

:bust_in_silhouette: Reply From: Calinou

The master branch is the latest commit indeed. There is no develop branch or something like that in Godot currently.

:bust_in_silhouette: Reply From: Akien

The master branch is where the new developments happen, new features and bug fixes alike. It is the development version of what will become Godot 2.1 when we’re happy with the new features implemented and have fixed potential regressions if any.

The 2.0 branch is where the 2.0.x versions are rolled out; we cherry-pick simple bug fixes from the master branch to the 2.0 branch. The current 2.0 branch is what will become 2.0.2 in a few weeks, and so on.

Both the master branch and the 2.0 branch should be fine to use for development IMO; I would just advise to use 2.0.1 if you want to export games into production (as compiling all export templates from source is quite hard, and the changes in the master branch haven’t been as thoroughly tested on all platforms as the 2.0.x versions).

If you like to stay on top of the developments and don’t mind compiling from source, the best is to make a local clone of the git repo (instead of using the “Download ZIP” button), so that you can always pull the upstream repository and get the latest commit to build.

The “new pull request” button on the main page is a GitHub misfeature. You should only click it when you are in your own fork, and you want to propose to add some changes you made in your fork to the main Godot master branch.

Thank you
very good answer

yedi | 2016-03-18 03:27