Safe to commit OpenVPN client config to Git?
Avoiding "security through obscurity" doesn't mean giving away information about your system just because it's something a determined person can find out anyway.
Also, I assume you mean version control hosted remotely, not just version control on your development machine?
If the remote version control server is publicly accessible or accessible to more than those who need to know this information, putting the file in version control doesn't make it anymore secure, so I guess if you think it does, that's falling victim to "security through obscurity".