Command
git hash-objectExplanation
git hash-object is used to compute the object ID and optionally create a blob from a file. It computes the object ID and optionally creates a blob from the file.
Examples
Compute hash for file
git hash-object file.txtMore
Clone Repository
git
Clone an existing Git repository from a remote server to your local machine, creating a complete copy with full history
Add Files
git
Stage file changes to the Git index (staging area) in preparation for committing
Commit Changes
git
Create a commit to permanently record staged changes in the repository history with a descriptive message