In branch 5.0 is the current stable version . All corrections and corrections are sent to this branch and those that you should use. (It will also be used by one composer when creating a new project).
The master branch contains the upcoming release . In this case 5.1. However, this can be unstable or suddenly break functions, because everything will change in the new version.
source share