I have a .txt file generated from a python script that has the text: what is sdf
(just random text) and when I add other random characters to it, two of the same file show up in GitHub Desktop and through the git status command on Git Bash as such:
Git Bash: git status command result
I think that with my old script, there was a file created with the path specified in the second modified file (in the Git Bash screenshot) but I don't know how to get rid of it, since it's now like a ghost to the current file and mimics its changes. This is the script currently, with the old path being that of the second file's:
basic_addition_file = open('src/answers/Mathematics/basic_addition.txt', 'w')