In PHP, Git is an open source distributed version control system and a version management tool that can effectively and quickly handle version management of projects from very small to very large ones; it is commonly used by programmers An important tool that can greatly improve the efficiency of project work.
The operating environment of this tutorial: windows7 system, PHP7.1 version, DELL G3 computer
Git (pronounced as /gɪt/) is a An open source distributed version control system that can handle version management of projects from very small to very large efficiently and at high speed.
And Git can be used without the Internet, because it is just a tool, mainly to facilitate the management of your program. To put it simply, the projects we work on sometimes require modifications and other operations, resulting in many versions of the project, and Git is a system tool for controlling these versions.
Functional features of Git:
1. Clone the complete Git repository from the server to the disk.
2. Create branches and modify the code on your own computer according to different development purposes.
3. Submit the code to the branch you created.
4. You can also create a branch to modify the code.
The difference between Git and Github
Git is a software that can maintain your historical code in the .git folder. After specifying the remote link and user information, git can help you push the submitted code to the remote warehouse or fetch the code from the remote warehouse to the local.
Github is a project hosting platform based on git. It provides a web interface on which you can create a resource warehouse to store your projects. Create a resource warehouse locally or on the server and synchronize project updates with the remote github through shell commands or graphical user interfaces to achieve project management.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of What does git mean in php. For more information, please follow other related articles on the PHP Chinese website!