setup: add gentle version of read_gitfile