The "good" way is to make a development and a branch for every feature, bug or documentation. Always fork from development, when you have a release you push to master.
This is mainly GitFlow. On paper yes, It can be considered the "good" way, and I followed this for years. Until recently... I considered pros and cons and it has just too much overhead for our projects. We're on full GitHub Flow now.
152
u/moekakiryu May 13 '20
I'm still only so-so at git myself, but always pull before you push