---
title: "Discussion on \"Git and GitHub(command mainly for windows)\" | Hashnode"
description: "Discussion on \"Git and GitHub(command mainly for windows)\". How to check git version in windows cmd or gitBash?\ngit --version\n\nTo get full option in git :\ngit config --e\n\nTo get global username and email:\n git config --global user.name\n git config --global user.email\n\nTo set global username and email:\ngit con..."
url: "https://hashnode.com/posts/git-and-githubcommand-mainly-for-windows/6804a9a2c29ec40fc54aaa4e"
---

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

Discussion

# [Git and GitHub(command mainly for windows)](https://git-basic.hashnode.dev/git-and-githubcommand-mainly-for-windows?utm_source=hashnode&utm_medium=feed)

How to check git version in windows cmd or gitBash? git --version To get full option in git : git config --e To get global username and email: git config --global user.name git config --global user.email To set global username and email: git con...

Apr 20, 2025 · 4 min read · git-basic.hashnode.dev  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#git](https://hashnode.com/tag/git)
-   [#gitcommands](https://hashnode.com/tag/gitcommands)

## Written by

[Unknown Truth](https://hashnode.com/@arhann)

@arhann

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
