You can do a safer force push with the --force-with-lease argument on the git push command
Articles – Page 87
You can use process.mainModule or require.main to figure out what the entry level of a Node.js script is.
You can use cmd/ctrl + shift + click to open a new tab and also focus it instead of opening it in the background
How to use 'git status --short/-s' to get shorter and easier to grasp status information but 'git status --porcelain' when you build automation with it.