Sync with 2.31.2

* maint-2.31: Git 2.31.2 Git 2.30.3 setup_git_directory(): add an owner check for the top-level directory Add a function to determine whether a path is owned by the current user

Johannes Schindelin committed Mar 17, 2022 at 10:57 UTC 201b0c7af6cad52cf6f0cfc46bd48201a23f6224

No changes.