see https://github.com/tpc2/qulice/wiki/mistakes#class-names

This is a very bad design idea to have classes that validate something. Validation should be part of object's behavior. In your case, I would introduce a class `GitURI`, with one constructor that accepts `String` and throws an exception if it's an invalid URI. And class `Git` should expect `GitURI` as a parameter in its constructor.