Question 070

### Which of these practices can help avoid committing sensitive data or files to a git repository? > https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository#avoiding-accidental-commits-in-the-future 1. [x] Adding sensitive files or patterns to a `.gitignore` file 1. [ ] Regularly changing your passwords 1. [ ] Disabling push access to the repository 1. [ ] Using `git add .` before all commits 1. [ ] Disabling all `.gitignore` rules to ensure every file is tracked