[git] Push a directory as a new commit

I am thinking of is it possible to create a new directory and push it as a commit to an existing repo?
So this directory originally does not have any .git folder.
Instead of cloning the entire repo and delete the directory in the first place.
Are there any commands that support this
Was this page helpful?