GITHUB
GITHUB
Shailja Upadhyay
Introduction
1. Sign in to GitHub: Ensure you are logged into your GitHub account.
• Click on the + sign in the upper right corner of any GitHub page and select New repository.
• Choose a name for your repository. This should be meaningful and related to the project you're working on.
• Decide if you want your repository to be public (visible to everyone) or private (accessible only to you or
collaborators). Public repositories are free on GitHub.
3. Initialize with a README file: You have the option to initialize your repository with a README,
which is a good practice as it helps others understand your project. Select the checkbox labeled Initialize this
repository with a README
4. Create a New File: Once your repository is created, click on the Add file button and choose Create new file.
Give your file a name ending with the appropriate file extension.
5. Write Your Code: GitHub provides a text editor where you can write or paste your code directly.
Write or paste your code into the editor.
6. Commit Your Changes: Scroll down to the bottom of the page. You'll see a section where you can add a commit message.
Enter a brief description of the changes you made (e.g., "Initial commit: added Python script for data analysis").
7. Below the commit message, select the Commit new file button to save your changes.
8. Pushing Changes (if using Git locally): If you have Git installed locally and want to push your existing code to
GitHub,follow
the instructions provided on GitHub after creating your repository. Typically, this involves adding your GitHub repository as a
remote and pushing your changes.
THANKYOU