From: https://stackoverflow.com/questions/49514426/how-can-i-git-diff-changes-to-rails-5-2-credentials/50466819#50466819