I work on 2 machines, a desktop with Windows 10 and a laptop with Linux Ubuntu 19.10 There are many times where I forget to git push my latest changes and I have to resume my work on my other machine and I cannot continue because I forgot to git push.
Until recently I was using MEGA Cloud which has the option of excluding files and folders, and I was excluding *.git, node_modules and python virtual environments to avoid needless problems such as Error Permissions on Files/Folders, git unexpected behaviors and a huge amount of files/folders from node_modules.
However, it has a major problem: if you delete some files/folders on one machine and the files/folders exist on the other machine, MEGA will re-upload them (that's not syncing).
Any help for syncing my source files on a cloud automatically while it is also a git repository?