== No local changes ==If you have no local changes to any tracked files, upgrading to both minor and major releases is simpleSee https: git fetch git checkout //bugzilla-(version)where ''(version)'' is the version number that you want to update to, like <code>4.4readthedocs.2<org/code>.== Local, uncommitted changes ==The above checkout command will fail if you've made any modifications to files you checked out from git en/latest/installing/upgrading-with a warning about overwriting local changes. In this case, the simple solution is to stash and then reapply your changes (assuming you've done the "git fetch" already): git stash save git checkout bugzilla-(version) git stash applyHowever, it is better to create a local branch, which is one of git's strengths. You can track your customizations and merge in changes from upstream.== Local branch ==..html . = Creating patches with git =