In software projects, it Is important to track changes on files. A version control system helps you to track these changes. A version control is a system that records changes to a file or set of files over time so that you can recall specific versions. GIT is such a version control system. The SAP Business Application Studio comes with a built in GIT-Client to interact with the GIT-system. The GIT-system may be installed on premise or a cloud service like http://github.com. Lets take a look at the features, the states and the workflow:
Features
- GIT works like a set of snapshots, with every commit GIT takes a snapshot of the current state of the underlying files. For unchanged files, only a reference to the file is stored.
- GIT is a free and open source distributed version control system.
- GIT is designed to handle small to very large projects, It is designed for speed and efficiency.
- GIT supports local branching and staging.
- With GIT, most operations require local files and resources only, almost every operation can be done offline.
- GIT uses checksums based on SHA-1 hashes.
GIT States
- Committed: The data is safely stored in the local database.
- Modified: Files were changed but not yet committed to the local database.
- Changed: Files were marked as modified in the current version and go into the next commit snapshot.
GIT Workflow
- Working Tree: Modify files in the working tree.
- Staging Area: Staging Area: Stage the files/add snapshots of files to the staging areas.
- GIT Repository: Perform a Commit. Takes the files from the staging area and stores the snapshot permanently in the local GIT repository.
For more information, visit https://git-scm.com
GIT Procedure
The procedures for getting started with GIT repositories are provided in the following figure.

The figure shows you the two options regarding how to start with GIT repositories:
- Import an existing directory into GIT.
- Clone an existing GIT repository from a server.
Watch this video to learn about GIT Working Directories.