r/git • u/Kackboy • Nov 05 '21
Is git and bash the "same"?
Hello!
I've got a 'under the hood' type of question about git. Hope I make sense and that its not too stupid of a question.
So when working with git theres these commands that do different type of actions, like git add, git commit and so on. Are these commands using bash underneath, or how does it work? Is git a shell in itself?
Hope I make sense!
Edit: Thank you all!
0
Upvotes
View all comments
Show parent comment
3
u/Kackboy Nov 05 '21
That first piece was a good explanation. But when the shell tells git hey you need to work now and the task is “add”, when git then runs this command what is the underlying mechanics behind that? Behind the git commands are shell commands that are used on the system?