git commit-tree

Low level utility to create commit objects. See also: git commit. More information: https://git-scm.com/docs/git-commit-tree.

git commit-tree tree -m "message"

git commit-tree tree -F path/to/file

git commit-tree tree -m "message" --gpg-sign

git commit-tree tree -m "message" -p parent_commit_sha