Hackers gaining access to your application’s code can be devastating for proprietary software, but storing credentials in Git can give them elevated database access. Even if you don’t plan on your Git repository getting hacked, it’s good risk management to minimize the potential damages.