Update gitpython to 3.1.36 version
Update `gitpython` to 3.1.36 version to fix the CVE-2023-41040 vulnerability.

Fix #1785.
Update gitpython to 3.1.36 version: Update `gitpython` to 3.1.36 version to fix the CVE-2023-41040 vulnerability.

Fix #1785.