If you have already committed a username and password "in-text" to a git repository (like GitHub), simply changing the code later is . The password remains in the commit history.
Using these queries to access unauthorized data is illegal in many jurisdictions. Intext Username And Password