Creating new custom app but getting errors

Creating new custom app but getting errors
App Title [Legal Case Management Tool]:
App Description: an app to automate legal case management
App Publisher: Vanessa Nyika
App Email: nyikavanessa378@gmail.com
App License [MIT]:
Create GitHub Workflow action for unittests [y/N]: y
Traceback (most recent call last):
File “/home/vanessa/.cache/activestate/26aa6623/usr/lib/python3.10/runpy.py”, line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/home/vanessa/.cache/activestate/26aa6623/usr/lib/python3.10/runpy.py”, line 86, in _run_code
exec(code, run_globals)
File “/home/vanessa/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 104, in
main()
File “/home/vanessa/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 19, in main
click.Group(commands=commands)(prog_name=“bench”)
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1130, in call
return self.main(*args, **kwargs)
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1055, in main
rv = self.invoke(ctx)
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/click/core.py”, line 760, in invoke
return __callback(*args, **kwargs)
File “/home/vanessa/frappe-bench/apps/frappe/frappe/commands/utils.py”, line 1046, in make_app
make_boilerplate(destination, app_name, no_git=no_git)
File “/home/vanessa/frappe-bench/apps/frappe/frappe/utils/boilerplate.py”, line 29, in make_boilerplate
_create_app_boilerplate(dest, hooks, no_git=no_git)
File “/home/vanessa/frappe-bench/apps/frappe/frappe/utils/boilerplate.py”, line 153, in _create_app_boilerplate
app_repo = git.Repo.init(app_directory, initial_branch=“develop”)
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/git/repo/base.py”, line 1168, in init
git.init(**kwargs)
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/git/cmd.py”, line 741, in
return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/git/cmd.py”, line 1315, in _call_process
return self.execute(call, **exec_kwargs)
File “/home/vanessa/frappe-bench/env/lib/python3.10/site-packages/git/cmd.py”, line 1109, in execute
raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd(‘git’) failed due to: exit code(129)
cmdline: git init --initial-branch=develop
stderr: ‘error: unknown option `initial-branch=develop’
usage: git init [-q | --quiet] [–bare] [–template=] [–shared[=]] []

--template <template-directory>
                      directory from which templates will be used
--bare                create a bare repository
--shared[=<permissions>]
                      specify that the git repository is to be shared amongst several users
-q, --quiet           be quiet
--separate-git-dir <gitdir>
                      separate git dir from working tree

Please try

sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git