How to apply a fix

I had an issue in creating variants in the latest update and i found out that there is a fix for that issue on github that was just released 13 hours ago but i donno what is hotfix or how to apply this fixes are they manually or automated? should i change the lines manually or should i make any other thing in order to apply that fix automatically?

here is the link of the fix: [Fix] Permissions issue while making item variants by rohitwaghchaure · Pull Request #16138 · frappe/erpnext · GitHub

I suppose this fix will be merge to the master/develop/staging branches tomorrow or later . If you need to work with variants right now you can change it manually and use the creating variants . If it doesn’t a problem for you to wait some time please wait