Github backup help!

Hello everyone. I had setup github upload script to upload only certain files into a private repo. I got an error yesterday saying the log file is too big. The thing is I am excluding any kind of logs to upload to github and yet I still get this

Warning: Permanently added 'github.com' (EDxxxxx) to the list of known hosts.
Enumerating objects: 445, done.
Counting objects: 100% (445/445), done.
Delta compression using up to 4 threads
Compressing objects: 100% (434/434), done.
Writing objects: 100% (445/445), 17.34 MiB | 363.00 KiB/s, done.
Total 445 (delta 283), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (283/283), done.
remote: warning: File home-assistant.log.1 is 61.24 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File home-assistant.log.1 is 68.25 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File home-assistant.log.1 is 62.71 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File home-assistant.log.1 is 61.87 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File home-assistant.log.1 is 59.40 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File home-assistant.log.1 is 51.19 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File home-assistant.log.1 is 60.31 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File home-assistant.log.1 is 60.87 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File home-assistant.log.1 is 60.77 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: warning: File home-assistant.log.1 is 63.90 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: error: Trace: 3d3b1566d4659df1f430b6becf8947deeb55bef6eb7ff5f87dd812c1c282f706
remote: error: See https://gh.io/lfs for more information.
remote: error: File home-assistant.log.1 is 165.87 MB; this exceeds GitHub's file size limit of 100.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
To github.com:username/myrepo.git'
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'github.com:username/myrepo.git'

This is my gitignore file

*
.storage
.cloud
.google.token 
home-assistant.log
.ssh
id_rsa*
.log*
.log.txt
home-assistant.log.1
home-assistant_v2.db
.ip_authenticated.yaml
secrets.yaml
custom_components
blueprints
glances
nest
tts
wyze-bridge
zones.yaml
customize.yaml
includes

What if you add to gitignore?:
*.1

didnt work. I have to add that i deleted my old repo and created a new one.
you all think this file is in history ? how do i delete it from history?