What is Git and why do teams use it?
Simple meaning
Git is a distributed version control system that records every change as a commit.
Open the full page for Why, Steps, Example and Key takeaway.
Panel-ready MERN Full Stack questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.
Git is a distributed version control system that records every change as a commit.
Open the full page for Why, Steps, Example and Key takeaway.
git clone copies a remote repository onto your machine for the first time.
Open the full page for Why, Steps, Example and Key takeaway.
git add stages chosen files so they become part of the next snapshot.
Open the full page for Why, Steps, Example and Key takeaway.
A branch is a movable pointer to a commit, usually used to isolate a feature or bug fix.
Open the full page for Why, Steps, Example and Key takeaway.
.gitignore lists paths Git should not track, such as node_modules, build output, and .env files.
Open the full page for Why, Steps, Example and Key takeaway.
git status shows the branch, staged files, and unstaged edits.
Open the full page for Why, Steps, Example and Key takeaway.
HTTP is a request-response protocol.
Open the full page for Why, Steps, Example and Key takeaway.
GET reads a resource, POST creates one, PUT replaces one, PATCH updates part of one, and DELETE removes one.
Open the full page for Why, Steps, Example and Key takeaway.
GET retrieves data, can be cached, and puts parameters in the URL.
Open the full page for Why, Steps, Example and Key takeaway.
2xx means success, 4xx means the client sent a bad request, and 5xx means the server failed.
Open the full page for Why, Steps, Example and Key takeaway.
HTTPS is HTTP wrapped in TLS, which encrypts data in transit and proves the server identity with a certificate.
Open the full page for Why, Steps, Example and Key takeaway.
Headers are key-value metadata on requests and responses, such as Content-Type, Authorization, Cookie, and Cache-Control.
Open the full page for Why, Steps, Example and Key takeaway.
Path parameters identify a specific resource, such as /users/42.
Open the full page for Why, Steps, Example and Key takeaway.
Node.js is a JavaScript runtime built on V8 that runs outside the browser.
Open the full page for Why, Steps, Example and Key takeaway.
npm is Node's default package manager.
Open the full page for Why, Steps, Example and Key takeaway.
dependencies are packages the app needs at runtime, such as express or mongoose.
Open the full page for Why, Steps, Example and Key takeaway.
JavaScript in Node runs on one main thread, but I/O is offloaded to the system and libuv.
Open the full page for Why, Steps, Example and Key takeaway.
require is CommonJS and loads modules synchronously.
Open the full page for Why, Steps, Example and Key takeaway.
process.env is an object of environment variables available to the process.
Open the full page for Why, Steps, Example and Key takeaway.
Synchronous code finishes before the next line runs and can block the event loop.
Open the full page for Why, Steps, Example and Key takeaway.