fixup! setup: convert setup_git_directory_gently_1 et al. to strbuf

... to be squashed before rebuilding 'next'.
Merge branch 'rs/strbuf-getcwd' into next

* rs/strbuf-getcwd:
  fixup! setup: convert setup_git_directory_gently_1 et al. to strbuf