You will be asked for the language of your translation, please give an IETF language code, lowercased, with dashes. like "pt-br", "fr", "ja", "zh-cn", and so on.
$ git clone https://github.com/python/cpython.git
$ (cd cpython; git checkout 3.12)
$ pip install cookiecutter
$ cookiecutter https://github.com/JulienPalard/python-docs-cookiecutter
language [fr]: de
directory_name [python-docs-de]:
$ cd python-docs-de
$ git init
$ git switch -c 3.12
$ git add README.rst Makefile
$ git commit -m "Initial commit"
$ make merge
$ git add *.po */*.po