Users shouldn't need to fetch all of git history. Closes Homebrew/homebrew#49903. Signed-off-by: Xu Cheng <xucheng@me.com>