I know 2 options of git commands,
With Github, we can also edit single file contents online. But how about multiple files?
Can someone give a best practice?
I mentioned in 2014 that since Git 1.9, a shallow clone would be able to push back.
If your initial clone has not enough depth, you can use git fetch --deepen
to increase it, until a push succeeds.