Git-is written by the father of Linux, Linus, is a software for source code control. Linus has designed git in a file system expert and kernel designer perspective, and its unique design allows git to have exceptional performance and optimized storage capabilities, and Git is superior to other similar source control software in every way. While learning about Android and the Linux kernel, there is a lot of source code involved in driving the development process, and the code is managed by git, so learn about Git's rationale and basic usage before learning about Android porting and Linux driver development. installing git and viewing git documents is not difficult, but in the process of submitting and retrieving the source code, a complete example demonstrates how to create a repository, submit source code, create a branch, upload source code to a remote server, and get source code from a remote server.
(1) Create repository: Git IIT
(2) Submit the file to the local repository: Git commit
(3) Create a local branch: Git branch
(4) Switch local branch: Git checkout
(5) Create an open source project on GitHub
(6) Upload source code to Github:gh PUSH
(7) Download source code from github: Git clone
Android Deep Explore 3rd Chapter