Yes - see how initializers are registered in the cmd package - the cleanup functions for "git" would be in the "git" package and initialized in "extend.go"