Remove large file from a git commit

I’ve done it again, super excited to work on my new pet project, I ran dd command to test my new VPS I/O Speed and created a 1-gigabyte file in my repository folder, and somehow I accidentally committed that. Unless you’re using a self-hosted git server with a large max upload, you’ll probably get an …

See changes between remote and local repository in Git

in many cases you are not sure whether the files you have on your local machine are newer or older than the ones in the remote repository. Specially when you are working with different people or you have different development environments. the easy solution for this is to use git fetch command to check what …