Git is a Source Code Management (SCM) tool. It keeps track of changes to your code and offers many powerful commands to collaboratively develop software.

Git supports a variety of features - from simple management commands to complex remote repositories. It is also home to a variety of good practices, such as semantic commits.

The tool is commonly used in a shell, but there are UI tools such as

Git repositories

Also known as remote repositories, these SCM stores act as hubs to develop on software. Working on them is highly individual, but there are a few common traits most repositories share

Git Hooks

See Git - Husky.js

Hooks execute a given action after an event emitted by git. The files are located in the ./hooks folder.

Note

You must make the file executable with chmod +x <filename>