Complete the command to initialize a new Git repository.
git [1]The git init command creates a new Git repository, setting up the necessary structure to store objects.
Complete the command to add a file to the Git staging area.
git [1] filename.txtThe git add command stages changes, preparing files to be saved as objects in Git.
Fix the error in the command to create a commit with a message.
git commit -m [1]The commit message must be enclosed in quotes to be recognized as a single string.
Fill both blanks to create a Git object hash from a file.
git hash-object -[1] [2]
-r which only reads the hash without storingThe -w option writes the object to the Git database, and file.txt is the file to hash.
Fill all three blanks to create a tree object from a directory.
git mktree < [1] | git hash-object -[2] --stdin -t [3]
-wtree.txt contains the tree data, -w writes the object, and tree specifies the object type.
