---
title: "Discussion on \"How to Initialize a Git Repository and Create a GitHub Repository Using the GitHub CLI\" | Hashnode"
description: "Discussion on \"How to Initialize a Git Repository and Create a GitHub Repository Using the GitHub CLI\". Master Git and GitHub CLI: A Step-by-Step Guide for Beginners"
url: "https://hashnode.com/posts/how-to-initialize-a-git-repository-and-create-a-github-repository-using-the-github-cli/6683cf82ed7c5d8f83a9ad6f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Initialize a Git Repository and Create a GitHub Repository Using the GitHub CLI](https://codeforhad.hashnode.dev/how-to-initialize-a-git-repository-and-create-a-github-repository-using-the-github-cli?utm_source=hashnode&utm_medium=feed)

Master Git and GitHub CLI: A Step-by-Step Guide for Beginners

Jul 2, 2024 · 3 min read · codeforhad.hashnode.dev  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#github](https://hashnode.com/tag/github)
-   [#github-cli](https://hashnode.com/tag/github-cli)
-   [#version-control](https://hashnode.com/tag/version-control)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Forhad Hossain](https://hashnode.com/@CodeForhad)

@CodeForhad · Bangladesh

  
[View profile](https://hashnode.com/@CodeForhad)

Crafting Digital Experiences, One Line of Code at a Time!

Hi, I'm Farhad Hossain, a passionate web developer on a journey to build impactful software and solve real-world problems. I share coding tips, tutorials, and my growth experiences to inspire others.

## Responses 1

Markdown supported · ⌘↵ to post

[Shakil Ahmmed](https://hashnode.com/@ShakilAhmed8882)

[Jul 2, 2024](https://hashnode.com/posts/how-to-initialize-a-git-repository-and-create-a-github-repository-using-the-github-cli/6683cf82ed7c5d8f83a9ad6f/comment/6683fc6f2f4e9713ac3e3f6c)

It's soo helpful. I am looking for this solution all in one environment. Thanks. ❤️
