XCSnippets is a command line utility for installing XCode snippets from git repositories.
brew tap dtaylor1701/formulae brew install xcsnippets
The above will get all codesnippets in the root of the github repository given and install them into the current user's xcode data.
Any git respository can be used by supplying the full path.
Use the -r flag to replace existing snippets of the same name. This is useful for installing updates to snippets that have already been downloaded.
xcsnippets -r "https://github.com/dtaylor1701/XCUISnippets.git"
The -n option will use the title of each snippet to name any unnamed files in the xcode snippets folder.