How to Push Code to a GitHub Repository

Step by step guide to push code to a GitHub repository using git commands from a local machine with clear steps and practical tips