Complete the command to show the type of a Git object by its hash.
git cat-file -t [1]The -t option shows the type of the object identified by the given hash.
Complete the command to display the content of a Git object by its hash.
git cat-file -[1] object_hash-t which only shows the type.-s which shows the size.The -p option prints the content of the object in a human-readable format.
Fix the error in the command to show the size of a Git object by its hash.
git cat-file -[1] object_hash-p which prints content.-t which shows type.The -s option shows the size of the object in bytes.
Fill both blanks to create a command that verifies if an object exists and shows its type.
git cat-file --[1] [2]
--batch instead of --batch-check.The --batch-check option reads object hashes and shows their types and sizes. You provide the object hash as input.
Fill both blanks to create a command that shows the content of a commit object by its hash.
git cat-file -[1] [2]
-t which only shows type.The -p option prints the content of the object. You provide the object hash, which should be a commit object.