gitfs
Read a remote git repository as io/fs.FS.
Example
func main() {
// init file system
fsys, _ := gitfs.New("https://github.com/boltdb/bolt")
// read root directory
data, _ := fs.ReadFile(fsys, "README.md")
// print files
fmt.Println(string(data)[:4])
// Output: Bolt
}