David, a developer, is working on login component of an application and dealing with
sensitive data. Hence before pushing the code to github.com, he moved the sensitive
information in a “logindata.cfg” file and added the file name as “login.cfg” by mistake in
.gitignore and also pushed the changed to github.com. Later he identified and removed
it from repository before anyone uses that file.
Is there any risk associated with this?
a. No, there is no risk as he removed from github.com
b. Yes, the file is being modified by other team member
c. No, the file is a cfg file as most of the team members have their own cfg file
d. Yes, the changes will be reflected in the version history.