`die_if_no_git` is a public method of WestCommand, but is not listed under https://docs.zephyrproject.org/latest/develop/west/west-apis.html#westcommand.