no i didnt want to delete that.
I undid that (at least i think so) by hard reset from the reflogs
metulburr@ubuntu:~/repos/ShooterGame$ git reflog
ecef4a5 HEAD@{0}: checkout: moving from cleanup_after_menu to add_game_over
ec53c60 HEAD@{1}: checkout: moving from master to cleanup_after_menu
1875a5e HEAD@{2}: checkout: moving from cleanup_after_menu to master
ec53c60 HEAD@{3}: commit: cleanup after adding menu
ecef4a5 HEAD@{4}: checkout: moving from cleanup3 to cleanup_after_menu
ecef4a5 HEAD@{5}: reset: moving to HEAD~3
e4dd5fe HEAD@{6}: commit: cleanup3
81cdf23 HEAD@{7}: checkout: moving from cleanup2 to cleanup3
81cdf23 HEAD@{8}: commit: cleanup2
c657adb HEAD@{9}: checkout: moving from cleanup to cleanup2
c657adb HEAD@{10}: commit: cleanup after menu
ecef4a5 HEAD@{11}: checkout: moving from add_game_over to cleanup
ecef4a5 HEAD@{12}: commit: added game over and restart
787630d HEAD@{13}: checkout: moving from options_menu to add_game_over
787630d HEAD@{14}: commit: added options menu
7944f09 HEAD@{15}: checkout: moving from adding_menu_system to options_menu
7944f09 HEAD@{16}: commit: added basic menu system
3308118 HEAD@{17}: checkout: moving from organizing_states to adding_menu_system
3308118 HEAD@{18}: commit: organizing states
04b3f8f HEAD@{19}: checkout: moving from adding_state_machine to organizing_states
04b3f8f HEAD@{20}: commit: added state machine
810571e HEAD@{21}: checkout: moving from moved_main_loop_into_data to adding_state_machine
810571e HEAD@{22}: checkout: moving from master to moved_main_loop_into_data
1875a5e HEAD@{23}: checkout: moving from moved_main_loop_into_data to master
810571e HEAD@{24}: commit: moved all_in_one_file.py into data and renamed it to control.py
0f3405e HEAD@{25}: checkout: moving from move_player_and_enemy_to_modules to moved_main_loop_into_data
0f3405e HEAD@{26}: commit: moved player and enemy classes out of main file and into their own modules
8ada1e8 HEAD@{27}: checkout: moving from move_tools_to_labels to move_player_and_enemy_to_modules
8ada1e8 HEAD@{28}: commit: removed pycache
16c56b9 HEAD@{29}: commit: added gitignore
5d8611b HEAD@{30}: commit: moved the rest of tools to labels
171ad9d HEAD@{31}: checkout: moving from move_tools_class_to_tools_prep to move_tools_to_labels
171ad9d HEAD@{32}: checkout: moving from make_game_work_again to move_tools_class_to_tools_prep
171ad9d HEAD@{33}: commit: fixed convert
77808a8 HEAD@{34}: commit: made game work again
f3f369d HEAD@{35}: checkout: moving from moved_files to make_game_work_again
f3f369d HEAD@{36}: commit: moved resources
1875a5e HEAD@{37}: checkout: moving from resources_same_directory to moved_files
1875a5e HEAD@{38}: checkout: moving from master to resources_same_directory
1875a5e HEAD@{39}: commit (initial): first upload
metulburr@ubuntu:~/repos/ShooterGame$ git reset --hard ecef4a5
HEAD is now at ecef4a5 added game over and restart
metulburr@ubuntu:~/repos/ShooterGame$ git status
On branch add_game_over
nothing to commit, working directory clean
metulburr@ubuntu:~/repos/ShooterGame$ git checkout cleanup_after_menu
Switched to branch 'cleanup_after_menu'
metulburr@ubuntu:~/repos/ShooterGame$ git status
On branch cleanup_after_menu
nothing to commit, working directory clean
metulburr@ubuntu:~/repos/ShooterGame$ git push origin cleanup_after_menu
Username for 'https://github.com': metulburr
Password for 'https://[email protected]':
Counting objects: 10, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (10/10), 1.56 KiB | 0 bytes/s, done.
Total 10 (delta 7), reused 0 (delta 0)
remote: Resolving deltas: 100% (7/7), completed with 6 local objects.
remote:
remote: Create a pull request for 'cleanup_after_menu' on GitHub by visiting:
remote: https://github.com/metulburr/ShooterGame/pull/new/cleanup_after_menu
remote:
To https://github.com/metulburr/ShooterGame.git
* [new branch] cleanup_after_menu -> cleanup_after_menu
Im pretty sure that i am at the final result i want. I find this all to be confusing

, but thank you