<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Kshitij's Blogs]]></title><description><![CDATA[Kshitij's Blogs]]></description><link>https://blogs.kshitijgecs.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6968fdf8ef230a1c0a332de9/0c9eeb29-a917-4fcc-8261-57640cc408ef.png</url><title>Kshitij&apos;s Blogs</title><link>https://blogs.kshitijgecs.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 19:34:54 GMT</lastBuildDate><atom:link href="https://blogs.kshitijgecs.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[TCP vs UDP: Understanding the Two Core Transport Protocols]]></title><description><![CDATA[Every time you load a page, send a message, or join a video call, your data is broken into smaller units, sent across a chain of routers, and reassembled…]]></description><link>https://blogs.kshitijgecs.dev/tcp-vs-udp-understanding-the-two-core-transport-protocols</link><guid isPermaLink="true">https://blogs.kshitijgecs.dev/tcp-vs-udp-understanding-the-two-core-transport-protocols</guid><category><![CDATA[TCP]]></category><category><![CDATA[UDP]]></category><category><![CDATA[network]]></category><category><![CDATA[computer networking]]></category><dc:creator><![CDATA[Kshitij Kumar]]></dc:creator><pubDate>Thu, 15 Oct 2026 14:19:29 GMT</pubDate><content:encoded><![CDATA[<p>Every time you load a page, send a message, or join a video call, your data is broken into smaller units, sent across a chain of routers, and reassembled at the other end. None of that works unless the machines involved follow a common set of rules: how to address data, how to detect missing information, and what to do when something goes wrong.</p>
<p>Those rules are part of what’s called the <strong>transport layer</strong> of networking. The internet gives applications several transport options, but two of the most important are <strong>TCP (Transmission Control Protocol)</strong> and <strong>UDP (User Datagram Protocol)</strong>. Much of the internet’s traffic relies on one of these protocols, directly or through another protocol built on top of them.</p>
<p>So, what’s the difference between TCP and UDP, and when does each one make sense? Let’s break it down.</p>
<h2>What Are TCP and UDP?</h2>
<p><strong>TCP</strong> is a connection-oriented protocol. Before application data is exchanged, the endpoints establish a connection through a process called a handshake. TCP uses sequence numbers, acknowledgments, retransmissions, and other mechanisms to provide a reliable, ordered stream of bytes to an application.</p>
<p>Its goal is to deliver data reliably and in order. If some data is lost, TCP can retransmit it. If segments arrive out of order, TCP reorders the data before delivering it to the application.</p>
<p><strong>UDP</strong> is connectionless. It does not establish a connection before sending datagrams, and it does not provide built-in acknowledgments, retransmissions, or ordering guarantees. An application sends a datagram, and UDP makes a best-effort attempt to deliver it to the destination process. If the datagram is lost, UDP itself does not recover it.</p>
<p>That makes UDP a simpler transport with less protocol overhead. However, applications that need reliability, security, or congestion control may have to implement those features themselves or use a protocol built on top of UDP.</p>
<p>A couple of ways to picture the difference:</p>
<table>
<thead>
<tr>
<th>TCP</th>
<th>UDP</th>
</tr>
</thead>
<tbody><tr>
<td><strong>A phone call:</strong> You establish a connection before talking. Both sides can exchange information, and the communication system works to deliver the data reliably.</td>
<td><strong>A quick announcement:</strong> You send a message without first establishing a connection or waiting for a built-in acknowledgment. You may not know whether it arrived.</td>
</tr>
<tr>
<td><strong>A tracked courier:</strong> Delivery is tracked, and missing data can be sent again.</td>
<td><strong>A live broadcast:</strong> The message goes out without waiting for every recipient to confirm receipt.</td>
</tr>
<tr>
<td><strong>Reliable, ordered byte stream:</strong> Useful when the application needs complete data in sequence.</td>
<td><strong>Datagrams:</strong> Useful when the application wants to decide how to handle loss, delay, or ordering.</td>
</tr>
</tbody></table>
<h2>TCP vs UDP: What’s the Actual Difference?</h2>
<p>Here’s a side-by-side comparison:</p>
<table>
<thead>
<tr>
<th>Feature</th>
<th>TCP</th>
<th>UDP</th>
</tr>
</thead>
<tbody><tr>
<td>Connection model</td>
<td>Connection-oriented</td>
<td>Connectionless</td>
</tr>
<tr>
<td>Delivery guarantee</td>
<td>Reliable delivery provided by TCP</td>
<td>No delivery guarantee</td>
</tr>
<tr>
<td>Ordering</td>
<td>Delivers bytes in order</td>
<td>No ordering guarantee</td>
</tr>
<tr>
<td>Acknowledgments</td>
<td>Uses acknowledgments</td>
<td>No built-in acknowledgments</td>
</tr>
<tr>
<td>Retransmission</td>
<td>Retransmits lost data when needed</td>
<td>No built-in retransmission</td>
</tr>
<tr>
<td>Data model</td>
<td>Continuous byte stream</td>
<td>Individual datagrams</td>
</tr>
<tr>
<td>Header size</td>
<td>20 bytes minimum, without options</td>
<td>8 bytes</td>
</tr>
<tr>
<td>Overhead</td>
<td>Generally more protocol overhead</td>
<td>Generally less protocol overhead</td>
</tr>
<tr>
<td>Common uses</td>
<td>Web traffic with HTTP/1.1 or HTTP/2, SSH, many database connections</td>
<td>DNS queries, real-time traffic, and protocols built over UDP</td>
</tr>
</tbody></table>
<p><strong>One thing people get wrong:</strong> <strong>TCP is not simply slow, and UDP is not automatically fast.</strong> UDP has less built-in transport overhead, but real-world performance depends on the network, the application, and how much reliability the application needs to add.</p>
<h2>How TCP Works: The Three-Way Handshake</h2>
<p>Before TCP endpoints exchange application data, they establish a connection using a process known as the <strong>three-way handshake</strong>.</p>
<p>Imagine your browser needs to establish a TCP connection with a web server. The process looks like this:</p>
<ol>
<li><p><strong>SYN:</strong> Your computer sends a SYN segment to request a connection.</p>
</li>
<li><p><strong>SYN-ACK:</strong> The server responds with SYN-ACK, acknowledging the request and indicating that it is ready to connect.</p>
</li>
<li><p><strong>ACK:</strong> Your computer sends an acknowledgment back to the server.</p>
</li>
</ol>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/153eaed8-8341-4624-8c36-682dcc65b624.png" alt="" style="display:block;margin:0 auto" />

<p>Once the connection is established, the endpoints can exchange application data.</p>
<p>But what happens if a segment gets lost along the way?</p>
<p>TCP uses sequence numbers, acknowledgments, timers, and retransmission mechanisms to help detect and recover from data loss. It also ensures that the application receives the byte stream in the correct order.</p>
<p>Imagine downloading a PDF file. You need the complete file, not just the parts that happened to arrive. TCP helps deliver a complete, ordered stream of bytes to the application, retransmitting missing data when necessary.</p>
<p>TCP also has flow-control and congestion-control mechanisms. Flow control helps prevent a sender from overwhelming the receiving application, while congestion control helps the sender respond to conditions in the network.</p>
<h2>How UDP Works: No Handshake, No Waiting</h2>
<p>UDP takes a different approach.</p>
<p>There is no built-in connection establishment before sending a datagram. An application can prepare a UDP datagram and send it without waiting for the receiver to acknowledge it.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/3206aa28-f88d-4f83-8b32-8db540adf358.png" alt="" style="display:block;margin:0 auto" />

<p>The sender does not have to wait for a response after each datagram. This can be useful when <strong>getting fresh information quickly matters more than recovering every lost packet</strong>.</p>
<p>Consider a multiplayer game. Your character is moving across a map, and the game frequently sends updates about your position.</p>
<p>Suppose one position update gets lost. Would you want the game to pause and wait for that old update to be retransmitted?</p>
<p>Probably not. By the time it arrives, your character may already be somewhere else. In many real-time applications, receiving the latest update is more useful than recovering every previous one.</p>
<p>UDP makes this approach possible, although applications can still add their own reliability, sequencing, or congestion-control mechanisms when needed.</p>
<p>Remember: UDP itself does not guarantee that datagrams will arrive, arrive in order, or arrive only once. Applications must account for those possibilities if they matter.</p>
<h2>Where Is TCP Used?</h2>
<p>TCP is commonly used when an application needs reliable, ordered delivery.</p>
<h3>1. File downloads</h3>
<p>When you download a document, the application generally needs the entire file, not just the parts that happened to arrive. TCP provides a reliable, ordered byte stream.</p>
<h3>2. Email</h3>
<p>Email protocols such as SMTP, IMAP, and POP3 traditionally use TCP to exchange messages reliably.</p>
<h3>3. SSH and remote access</h3>
<p>When you connect to a remote server using SSH, reliable, ordered communication is important for exchanging commands and their output.</p>
<h3>4. Database connections</h3>
<p>Many database protocols use TCP to exchange queries and results between applications and database servers.</p>
<h3>5. Web traffic</h3>
<p>HTTP/1.1 and HTTP/2 typically use TCP as their transport. When you visit a website using HTTPS with these versions of HTTP, TLS protects the application data over the TCP connection.</p>
<p>Modern web traffic is not limited to TCP, though. <strong>HTTP/3 uses QUIC, which runs over UDP</strong> and provides its own connection management, reliability features, and security.</p>
<h2>Where Is UDP Used?</h2>
<p>UDP is useful when low overhead, low latency, or application-specific control over delivery is important.</p>
<h3>1. Online multiplayer gaming</h3>
<p>Games often exchange frequent position, movement, and state updates. For some updates, a fresh value is more useful than retransmitting an outdated one.</p>
<h3>2. Voice and video calls</h3>
<p>Real-time communication applications need to deliver audio and video with minimal delay. A late audio packet may be less useful than a packet that never arrives.</p>
<h3>3. Live streaming</h3>
<p>Some real-time streaming systems use UDP-based transport to reduce latency. The exact protocol depends on the streaming technology.</p>
<h3>4. DNS lookups</h3>
<p>Traditional DNS queries commonly use UDP because a request and response can often be exchanged without establishing a TCP connection. DNS also supports TCP when required, including for certain larger responses and zone transfers.</p>
<h3>5. Real-time state synchronization</h3>
<p>Applications may use UDP datagrams to send frequent updates while implementing their own strategies for important events, acknowledgments, or recovery.</p>
<p>One more thing: <strong>UDP does not automatically make an application secure or reliable.</strong> Those features must come from the application or another protocol layered above UDP.</p>
<h2>What Happens When You Type <code>google.com</code>?</h2>
<p>Let's connect this to something you probably do every day.</p>
<p>You type <code>google.com</code> into your browser and press Enter. What happens next?</p>
<p>First, your browser needs to resolve the domain name to an IP address. It typically uses a DNS resolver, and traditional DNS queries often use UDP.</p>
<p>Once the address is available, the browser establishes the appropriate connection to Google's server infrastructure.</p>
<p>If the connection uses HTTP/2 over TLS, TCP establishes the transport connection before the browser exchanges protected HTTP data.</p>
<p>If the connection uses HTTP/3, the browser can instead use QUIC over UDP. QUIC handles connection establishment, encryption, reliable streams, and other transport functions itself.</p>
<p>Your request travels through network infrastructure, the server processes it, and the response makes its way back to your browser. The browser then processes the response and renders the webpage.</p>
<p>A simple action like opening a website can involve DNS, IP, a transport protocol, encryption, HTTP, and the browser itself.</p>
<p>That is one example of how multiple networking layers work together.</p>
<h2>Can TCP and UDP Be Used Together?</h2>
<p>Absolutely. An application can use both protocols for different purposes, and a device can maintain many TCP connections while also sending UDP datagrams.</p>
<p>Imagine a multiplayer game that has several kinds of traffic:</p>
<ul>
<li><p>Frequent movement updates may use UDP to keep latency low.</p>
</li>
<li><p>Login and account operations may use HTTPS over TCP.</p>
</li>
<li><p>Voice chat may use a real-time communication protocol over UDP.</p>
</li>
</ul>
<p>The exact design depends on the game, but the principle is the same: different kinds of data have different requirements.</p>
<p>Some data must arrive correctly. Other data needs to arrive as quickly as possible.</p>
<p>Choosing a transport protocol means understanding those requirements rather than blindly choosing the one that sounds faster.</p>
<h2>So, Which One Should You Choose?</h2>
<p>There is no universal winner. The right choice depends on what your application needs.</p>
<p>Choose <strong>TCP</strong> when you need a reliable, ordered byte stream and want the transport layer to handle retransmissions and related mechanisms for you.</p>
<p>Choose <strong>UDP</strong> when datagrams, low overhead, and application-specific control are a good fit for your use case—and when you are prepared to handle any additional reliability requirements yourself.</p>
<p>Keep in mind that UDP does not guarantee lower latency in every situation, and TCP can perform very well on modern networks. The application's design matters just as much as the protocol.</p>
<h2>Final Thoughts</h2>
<p>TCP and UDP solve different problems.</p>
<p>TCP prioritizes reliable, ordered delivery. UDP provides a simpler datagram service without built-in delivery guarantees.</p>
<p>Neither protocol is inherently better than the other. They exist because applications have different needs.</p>
<p>The next time you download a file, join a video call, play an online game, or open a website, remember that the data does not simply travel across the internet by magic. Protocols define how devices communicate, and TCP and UDP are two important pieces of that system.</p>
]]></content:encoded></item><item><title><![CDATA[How DNS Works: A Step-by-Step Guide to DNS Resolution]]></title><description><![CDATA[Every time you type google.com into your browser, your computer has no idea where Google actually lives on the internet. It only understands IP addresses…]]></description><link>https://blogs.kshitijgecs.dev/how-dns-works</link><guid isPermaLink="true">https://blogs.kshitijgecs.dev/how-dns-works</guid><dc:creator><![CDATA[Kshitij Kumar]]></dc:creator><pubDate>Thu, 23 Jul 2026 17:25:16 GMT</pubDate><content:encoded><![CDATA[<p>Every time you type <code>google.com</code> into your browser, your computer has no idea where Google actually lives on the internet. It only understands IP addresses, not human-friendly domain names. So how does it find the correct server in just a few milliseconds? That's exactly what DNS does.</p>
<h3>What is DNS ?</h3>
<p>Every device connected to the internet has an IP address. Websites are hosted on servers, and those servers are identified using IP addresses, something like - <code>142.250.183.14</code>. For humans, it is almost impossible to remember hundred of IP addresses so domain names were created like <strong>google.com, swiggy.com, netflix.com</strong>. Your browser needs the server's IP address before it can establish a connection. That's why DNS (Domain Name System) was created. Think of it as the internet's phonebook—it translates human-readable domain names into IP addresses.</p>
<h2>How DNS Works ?</h2>
<p>When you enter a domain into your browser, the browser first checks its DNS cache, if you have visited same website recently - the browser finds the IP adress in its cache and connects directly to the server. If the browser doesn't find the IP, it asks the operating system, which also maintains a DNS cache. If the operating system finds the IP address in its cache, it returns it to the browser. But if the IP address isn't found in the operating system's cache then comes the role of <strong>DNS Resolver</strong> (Recursive Resolver).</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/d2a28fbd-a398-4b67-b9a4-3c694448b5cb.png" alt="" style="display:block;margin:0 auto" />

<h3>What is DNS Resolver ?</h3>
<p>A DNS resolver is a server that translates human-readable domain names (like <code>google.com</code>) into machine-readable IP addresses (like <code>142.250.183.142</code>). Acting as an intermediary between your device and the global internet, it handles the complex process of finding the correct IP address so your browser can load websites.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/51f6deb9-0f21-4de4-a112-806d1851f7b5.png" alt="" style="display:block;margin:0 auto" />

<h3>The Resolution Process</h3>
<p>When you type a URL into your browser, DNS Resolver takes full responsibility for tracking down the right destination through the domain hierarchy.</p>
<p>The resolver is called a recursive resolver because it takes full responsibility for finding the answer on your behalf. Instead of making your computer contact multiple DNS servers, it performs the entire lookup process and returns the final IP address.</p>
<h3>1. Cache Check :</h3>
<p>The resolver first checks its own cache to see if it already knows the IP address from the recent request. If the resolver has recently looked up the same domain for any client it serves, it may already have the answer cached. The IP address is stored in the cache until its Time To Live (TTL) expires. If resolver finds the IP address in its cache then it returns the IP to the browser which can then load the website.</p>
<h3>2. Root Server :</h3>
<p>If the resolver fails to find the IP in cache then the resolver sends a query to one of the DNS root servers. The root server doesn't know the IP address, but it knows which Top-Level Domain (TLD) server is responsible for <code>.com</code>, <code>.org</code>, <code>.in</code>, and so on.</p>
<h3>3. TLD Server :</h3>
<p>Each top-level domain such as <code>.com</code>, <code>.org</code>, or <code>.in</code> is managed by its own set of TLD name servers. The TLD server also doesn't know the actual IP address. Instead, it tells the resolver which authoritative name server is responsible for the requested domain.</p>
<h3>4. Authoritative Server :</h3>
<p>The authoritative server is the source of truth for a domain. The Authoritative server stores the DNS records (such as A, AAAA, CNAME, MX, etc.) for the domain. It returns the actual IP address to the resolver. Resolver returns the IP to browser and also stores in the cache for future requests.</p>
<p>Now browser has the actual IP of the requested domain, browser can now connect to the server and load the website. The next time you visit the same website, the browser, operating system, or DNS resolver may already have the answer cached. That means the entire lookup process can often be skipped, making website loading much faster.</p>
<p>Once the browser knows the server's IP address, it can establish a TCP (or QUIC for HTTP/3) connection and begin the HTTPS communication.</p>
]]></content:encoded></item><item><title><![CDATA[How to Create a New Gmail Account: A Step-by-Step Beginner's Guide]]></title><description><![CDATA[Author: Kshitij KumarCategory: Technical Writing | Android | Google | Beginner Guide A Google Account gives you access to Google's complete ecosystem of…]]></description><link>https://blogs.kshitijgecs.dev/how-to-create-a-new-gmail-account</link><guid isPermaLink="true">https://blogs.kshitijgecs.dev/how-to-create-a-new-gmail-account</guid><dc:creator><![CDATA[Kshitij Kumar]]></dc:creator><pubDate>Fri, 10 Jul 2026 03:32:10 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p><strong>Author:</strong> Kshitij Kumar<br /><strong>Category:</strong> Technical Writing | Android | Google | Beginner Guide</p>
</blockquote>
<hr />
<h2>Introduction</h2>
<p>A <strong>Google Account</strong> gives you access to Google's complete ecosystem of services, including Gmail, Google Drive, Google Photos, Google Meet, Google Maps, YouTube, and the Google Play Store.</p>
<p>Creating a Google Account is a quick and straightforward process. This guide explains how to create a new Google Account on an Android smartphone with clear step-by-step instructions and screenshots.</p>
<hr />
<h2>Prerequisites</h2>
<p>Before you begin, make sure you have:</p>
<ul>
<li><p>An Android smartphone</p>
</li>
<li><p>A stable internet connection</p>
</li>
<li><p>Google Play Store installed on your device</p>
</li>
<li><p>A unique username for your Gmail address</p>
</li>
<li><p>A secure password</p>
</li>
</ul>
<blockquote>
<p><strong>Note:</strong> Depending on Google's security checks, you may be asked to verify your mobile number during account creation. In some cases, phone number verification is not required.</p>
</blockquote>
<hr />
<h1>Step 1: Open Google Play Store</h1>
<p>Open the <strong>Google Play Store</strong> on your Android smartphone.</p>
<p>Tap the <strong>Sign in</strong> button to begin.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/b03fd57f-719a-46c6-b130-5757c0bdc806.jpg" alt="" style="display:block;margin:0 auto" />

<p><em>Figure 1: Tap</em> <em><strong>Sign in</strong></em> <em>to add a Google Account to your Android device.</em></p>
<hr />
<h1>Step 2: Open the Google Sign-In Screen</h1>
<p>The Google Sign-In page will appear.</p>
<p>Tap <strong>Create account</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/7480d583-a994-4126-bde1-5c228ab80fd0.jpg" alt="" style="display:block;margin:0 auto" />

<p><em>Figure 2: Tap</em> <em><strong>Create account</strong></em> <em>to begin creating a new Google Account.</em></p>
<hr />
<h1>Step 3: Choose Account Type</h1>
<p>Google provides two options:</p>
<ul>
<li><p>For my personal use</p>
</li>
<li><p>For work or my business</p>
</li>
</ul>
<p>Select <strong>For my personal use</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/c4935444-a202-4d4b-a3f5-957d3bb7bc59.jpg" alt="Figure 3 - Account Type" style="display:block;margin:0 auto" />

<p><em>Figure 3: Choose</em> <em><strong>For my personal use</strong></em>*.*</p>
<hr />
<h1>Step 4: Enter Your Name</h1>
<p>Enter your:</p>
<ul>
<li><p>First Name</p>
</li>
<li><p>Surname (Optional)</p>
</li>
</ul>
<p>Tap <strong>Next</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/e4425f48-3814-4d92-9be4-7cddf7b42dbf.jpg" alt="Figure 4 - Enter Name" style="display:block;margin:0 auto" />

<p><em>Figure 4: Enter your first name and surname.</em></p>
<hr />
<h1>Step 5: Enter Basic Information</h1>
<p>Fill in the following information:</p>
<ul>
<li><p>Day</p>
</li>
<li><p>Month</p>
</li>
<li><p>Year</p>
</li>
<li><p>Gender</p>
</li>
</ul>
<p>Tap <strong>Next</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/2adab043-0e47-4958-a398-3c47075480f4.jpg" alt="Figure 5 - Basic Information" style="display:block;margin:0 auto" />

<p><em>Figure 5: Enter your date of birth and select your gender.</em></p>
<hr />
<h1>Step 6: Create Your Gmail Address</h1>
<p>Choose a unique Gmail username.</p>
<p>If the username is unavailable, Google will display suggested alternatives.</p>
<p>Choose an available username and tap <strong>Next</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/12c5f0c8-62e2-4853-823e-be31bfd9fa4b.jpg" alt="Figure 6 - Gmail Address" style="display:block;margin:0 auto" />

<p><em>Figure 6: Create a unique Gmail address.</em></p>
<blockquote>
<p><strong>Tip:</strong> Choose a professional email address if you plan to use it for education or work.</p>
</blockquote>
<p><strong>Good Examples</strong></p>
<ul>
<li><p><a href="mailto:john.smith2026@gmail.com">john.smith2026@gmail.com</a></p>
</li>
<li><p><a href="mailto:kshitij.dev@gmail.com">kshitij.dev@gmail.com</a></p>
</li>
<li><p><a href="mailto:rajkumar123@gmail.com">rajkumar123@gmail.com</a></p>
</li>
</ul>
<p><strong>Avoid</strong></p>
<ul>
<li><p><a href="mailto:coolboy123@gmail.com">coolboy123@gmail.com</a></p>
</li>
<li><p><a href="mailto:king007@gmail.com">king007@gmail.com</a></p>
</li>
<li><p><a href="mailto:swagmaster@gmail.com">swagmaster@gmail.com</a></p>
</li>
</ul>
<hr />
<h1>Step 7: Create a Strong Password</h1>
<p>Enter a strong password.</p>
<p>A strong password should contain:</p>
<ul>
<li><p>Uppercase letters</p>
</li>
<li><p>Lowercase letters</p>
</li>
<li><p>Numbers</p>
</li>
<li><p>Special characters</p>
</li>
</ul>
<p>Example:</p>
<p><code>MySecure@123</code></p>
<p>Tap <strong>Next</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/853811a4-f4d1-48f0-998a-c24cd1233da6.jpg" alt="Figure 7 - Password Screen" style="display:block;margin:0 auto" />

<p><em>Figure 7: Create a strong password for your account.</em></p>
<hr />
<h1>Step 8: Review Account Information</h1>
<p>Google will display the account information.</p>
<p>Review the Gmail address carefully.</p>
<p>If everything is correct, tap <strong>Next</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/ec1fb0a3-22e7-4c01-be08-5e3b98ee0039.jpg" alt="Figure 8 - Review Account" style="display:block;margin:0 auto" />

<p><em>Figure 8: Review your Google Account information.</em></p>
<hr />
<h1>Step 9: Accept Google's Privacy &amp; Terms</h1>
<p>Read Google's Privacy Policy and Terms of Service.</p>
<p>Scroll down and tap <strong>I agree</strong>.</p>
<img src="https://cdn.hashnode.com/uploads/covers/6968fdf8ef230a1c0a332de9/3593ca25-70b8-4a23-875f-3a8d18c9db57.jpg" alt="Figure 9 - Privacy Policy" style="display:block;margin:0 auto" />

<p><em>Figure 9: Accept Google's Privacy Policy and Terms of Service.</em></p>
<hr />
<h1>Step 10: Start Using Your Google Account</h1>
<p>Congratulations!</p>
<p>Your Google Account has now been created successfully.</p>
<p>You can now use:</p>
<ul>
<li><p>Gmail</p>
</li>
<li><p>Google Drive</p>
</li>
<li><p>Google Docs</p>
</li>
<li><p>Google Sheets</p>
</li>
<li><p>Google Meet</p>
</li>
<li><p>Google Photos</p>
</li>
<li><p>YouTube</p>
</li>
<li><p>Google Maps</p>
</li>
<li><p>Google Play Store</p>
</li>
</ul>
<p>using the same Google Account.</p>
<hr />
<h1>Security Tips</h1>
<p>To keep your Google Account secure:</p>
<ul>
<li><p>Use a strong and unique password.</p>
</li>
<li><p>Never share your password.</p>
</li>
<li><p>Enable Two-Step Verification (2FA).</p>
</li>
<li><p>Keep your recovery email and phone number updated.</p>
</li>
<li><p>Sign out from public or shared devices.</p>
</li>
</ul>
<hr />
<h1>Common Issues and Solutions</h1>
<h2>1. Username Already Exists</h2>
<p><strong>Problem</strong></p>
<p>The Gmail address you selected is already in use.</p>
<p><strong>Solution</strong></p>
<p>Choose another username or select one of Google's suggested usernames.</p>
<hr />
<h2>2. Weak Password</h2>
<p><strong>Problem</strong></p>
<p>Google does not accept your password.</p>
<p><strong>Solution</strong></p>
<p>Use a stronger password containing uppercase letters, lowercase letters, numbers, and special characters.</p>
<hr />
<h2>3. Phone Number Verification Appears</h2>
<p><strong>Problem</strong></p>
<p>Google asks for your mobile number.</p>
<p><strong>Solution</strong></p>
<p>Depending on Google's security checks, phone verification may be required. Enter a valid mobile number to continue.</p>
<hr />
<h2>4. Internet Connection Error</h2>
<p><strong>Problem</strong></p>
<p>The sign-up process does not continue.</p>
<p><strong>Solution</strong></p>
<p>Check your Wi-Fi or mobile data connection and try again.</p>
<hr />
<h1>Frequently Asked Questions</h1>
<h2>Is creating a Google Account free?</h2>
<p>Yes. Creating and using a Google Account is completely free.</p>
<hr />
<h2>Can I create multiple Google Accounts?</h2>
<p>Yes. Google allows users to create multiple Google Accounts.</p>
<hr />
<h2>Is a phone number mandatory?</h2>
<p>Not always.</p>
<p>Depending on your device, location, and Google's security checks, you may or may not be asked to verify a phone number.</p>
<hr />
<h2>Can I change my Gmail address later?</h2>
<p>No.</p>
<p>Once a Gmail address is created, it cannot be changed.</p>
<hr />
<h1>Conclusion</h1>
<p>Creating a Google Account on Android is a simple process that takes only a few minutes. By following the steps described in this guide, you can create a secure account and access Google's complete ecosystem of services.</p>
<p>Always choose a professional Gmail address, use a strong password, and enable Two-Step Verification to keep your account secure.</p>
<hr />
<h1>Key Takeaways</h1>
<ul>
<li><p>A Google Account provides access to Gmail, YouTube, Google Drive, Google Meet, Google Photos, and other Google services.</p>
</li>
<li><p>Creating a Google Account is simple and free.</p>
</li>
<li><p>Choose a unique and professional Gmail username.</p>
</li>
<li><p>Use a strong password for better security.</p>
</li>
<li><p>Enable Two-Step Verification to protect your account.</p>
</li>
<li><p>Keep your recovery information updated for easy account recovery.</p>
</li>
</ul>
<hr />
<h2>References</h2>
<ul>
<li><p>Google Account Help Center</p>
</li>
<li><p>Google Support Documentation</p>
</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Inside Git: How It Works and the Role of the .git Folder]]></title><description><![CDATA[Most of us use Git commands like git add, git commit and git push. We know what to type but we don’t know what actually happens inside. You don’t know…]]></description><link>https://blogs.kshitijgecs.dev/how-git-works</link><guid isPermaLink="true">https://blogs.kshitijgecs.dev/how-git-works</guid><category><![CDATA[ChaiCode]]></category><category><![CDATA[Chaiaurcode]]></category><category><![CDATA[GitHub]]></category><category><![CDATA[Git]]></category><category><![CDATA[vcs]]></category><category><![CDATA[version control]]></category><dc:creator><![CDATA[Kshitij Kumar]]></dc:creator><pubDate>Tue, 27 Jan 2026 17:13:55 GMT</pubDate><content:encoded><![CDATA[<p>Most of us use Git commands like <code>git add</code>, <code>git commit</code> and <code>git push</code>. We know what to type but we don’t know what actually happens inside.</p>
<p>You don’t know where your code history is actually stored? How git is tracking your history? Or how Git knows what changed?</p>
<p>In this blog i will discuss How git works internally and Role of .git folder.</p>
<h2 id="heading-understanding-the-git-folder">Understanding the .git folder</h2>
<p>When you run <code>git init</code> in a folder have you notices nothing changes in folder Thats because Git creates a hidden folder called .git.</p>
<p>Thid folder is the brain of your project. It contains everything - history, branches, config settings and actual file contens in a compressed format.</p>
<p><strong>Try this</strong>: Go to your project terminal and run: <code>ls -a</code></p>
<p>You will see <code>.git</code>. If you delete this folder, your project forgets everything and It becomes just a normal folder again, No History, No Versions.</p>
<p>Inside <code>.git</code>, the most important sub folder is <code>objects/</code>. Here all data is stored.</p>
<h2 id="heading-git-objects">Git Objects</h2>
<p>Git stores data in a very specific way using ‘Objects’. In simple language Git is a key - value store like Disctionay or HashMap.</p>
<p>There are three main types of Objects you must know :</p>
<p><strong>A. Blob (Binay Large Object)</strong></p>
<p><strong>.</strong> This stores content of your file</p>
<p><strong>.</strong> It stores only the data, not the filename.</p>
<p><strong>.</strong> If You have two files with the exact same text, Git will store only one Blob.</p>
<p><strong>B. Tree</strong></p>
<p><strong>.</strong> This represnets Your directories.</p>
<p><strong>.</strong> A Tree object stores - List of filenames and Pointers to Blobs (files) or other Trees (sub-folders).</p>
<p><strong>.</strong> It connects the content with filename.</p>
<p><strong>C. Commits</strong></p>
<ol>
<li><p>This is the snaphsot you see in history</p>
</li>
<li><p>A Commit Object stores :</p>
<ul>
<li><p>The Tree (the state of folders at that time).</p>
</li>
<li><p>Metadata (Author, Timestamp, Message).</p>
</li>
<li><p>Parrent Commit (The previous commit hash).</p>
</li>
</ul>
</li>
</ol>
<h2 id="heading-how-git-tracks-changes-internel-flow">How Git Tracks Changes (Internel flow)</h2>
<p>When you works on a project you usually run two commands <code>git add</code> and <code>git commit</code>. Let’s see what happens internally.</p>
<p><strong>Step 1:</strong> <code>git add.</code></p>
<p>When you run this, Git takes your file content and compresses into a <strong>Blob</strong> and saves it inside .<code>git/objects</code>.</p>
<p>It then updates the Staging Area (Index) to say “ Hey, this file is ready to be commited”.</p>
<p><strong>Step 2:</strong> <code>git commit -m “message”</code></p>
<ol>
<li><p>Git creates a <strong>Tree Object</strong> representing your current folder structure.</p>
</li>
<li><p>It creates a <strong>Commit Object</strong> that points to this tree.</p>
</li>
<li><p>It links this new commit to it’s parent commit (previous commit).</p>
</li>
<li><p>It updates the <code>HEAD</code> pointer to this new commit.</p>
</li>
</ol>
<h2 id="heading-hash-codes-sha-1">Hash Codes (SHA-1)</h2>
<p>You must have seen those long strings like <code>a1b2c3d4……</code> next to your commits.</p>
<p>These are SHA-1 Hashes. Git takes the content of an Object (Blob, Tree or Commit) and genereates a unique 40-character ID.</p>
<p><strong>Integrity</strong>: Even if you change a single comma in file, Hashes changes completely.</p>
<p>This means no one can ulter the code history without breaking the chain. This makes git incredibly secure and reliable.</p>
<h2 id="heading-conclusion">Conclusion</h2>
<p>Git isn’t a tool for saving work, It is a beatiful system of pointers and snapshots.</p>
<ul>
<li><p>The <code>.git</code> folder is the database.</p>
</li>
<li><p><strong>Blobs</strong> holds data, <strong>Tree</strong> holds structure and <strong>Commits</strong> hold history.</p>
</li>
<li><p>Everything is secured by <strong>Hashes</strong>.</p>
</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Why Version Control Exists: The Pendrive Problem]]></title><description><![CDATA[Imagine Playing a video game without “Save Points”. One wrong move, and you lose hours of progress. Frustrating, right? That used to be the reality of…]]></description><link>https://blogs.kshitijgecs.dev/why-version-control-exists</link><guid isPermaLink="true">https://blogs.kshitijgecs.dev/why-version-control-exists</guid><category><![CDATA[Why Version Control Exists: The Pendrive Problem]]></category><category><![CDATA[GitHub]]></category><category><![CDATA[Git]]></category><category><![CDATA[version control]]></category><dc:creator><![CDATA[Kshitij Kumar]]></dc:creator><pubDate>Fri, 16 Jan 2026 21:46:24 GMT</pubDate><content:encoded><![CDATA[<h2 id="heading-introduction">Introduction:</h2>
<p>Imagine Playing a video game without <strong>“Save Points”</strong>. One wrong move, and you lose hours of progress. Frustrating, right?</p>
<p>That used to be the reality of software development. Before the era of <strong>Version Control Systems (VCSs)</strong>, we lived in the age of <strong>“The Pendrive Problem”</strong> - manual backups, overwritten files, and zero collaboration safety.</p>
<p>Today, we take <code>git push</code> for granted, but do you know the nightmare that existed before it?</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1768599833482/fd4cd929-5f8a-40c4-bab0-162d5c82b8e4.jpeg" alt class="image--center mx-auto" /></p>
<h2 id="heading-the-problem-why-the-pendrive-method-fails">The Problem: Why "The Pendrive Method" Fails 📉</h2>
<p>To understand why we need Git, let's look at a real-world scenario. Let's imagine a team of developers trying to build a project using just a pendrive or email.</p>
<h3 id="heading-scenario-1-the-overwrite-disaster-2-developers">Scenario 1: The "Overwrite" Disaster (2 Developers)</h3>
<p>Imagine <strong>Dev A</strong> and <strong>Dev B</strong> are working together.</p>
<ol>
<li><p><strong>Dev A</strong> writes the code for the <em>Login Page</em> and gives the file to <strong>Dev B</strong> via a pendrive.</p>
</li>
<li><p><strong>Dev B</strong> starts working on the file to add a <em>Signup Page</em>.</p>
</li>
<li><p><strong>The Conflict:</strong> While Dev B is working, <strong>Dev A</strong> doesn't stop. He stays on his laptop and fixes a bug in the <em>Login Page</em>.</p>
</li>
</ol>
<p><strong>Now we have a problem:</strong></p>
<ul>
<li><p><strong>Dev A</strong> has the fixed bug (but no Signup Page).</p>
</li>
<li><p><strong>Dev B</strong> has the Signup Page (but the old, buggy Login Page).</p>
</li>
</ul>
<p>When they try to combine their code, they hit a dead end. If Dev A copies Dev B's folder, <strong>Dev A's bug fix gets deleted (overwritten).</strong> There is no way to merge these "parallel universes" automatically.</p>
<h3 id="heading-scenario-2-the-chaos-multiplier-3-developers">Scenario 2: The "Chaos Multiplier" (3 Developers)</h3>
<p>If you think 2 people are hard to manage, see what happens when <strong>Dev C</strong> joins.</p>
<p><strong>Dev A</strong> is working on Login.</p>
<ol>
<li><p><strong>Dev B</strong> is working on Payment.</p>
</li>
<li><p><strong>Dev C</strong> starts working on a Search Bar.</p>
</li>
</ol>
<p>Since they are all working on separate laptops without a central server:</p>
<ul>
<li><p>Dev C asks for the code. Dev A gives him an <em>outdated</em> version that doesn't have Dev B's work.</p>
</li>
<li><p>Now we have <strong>3 separate projects</strong> running on 3 laptops.</p>
</li>
<li><p>To fix this, someone has to manually copy-paste code from 3 different sources line-by-line.</p>
</li>
</ul>
<p><strong>The Result?</strong> It becomes a spider web of confusion. Adding more developers doesn't speed up the work—it stops the work entirely because you spend all your time fixing copy-paste errors.</p>
<h3 id="heading-the-3-major-pain-points">The 3 Major Pain Points</h3>
<p>As we saw in the scenarios above, manual collaboration leads to:</p>
<ol>
<li><p><strong>Tracking Issues:</strong> You cannot track <em>who</em> changed the code. Did Dev A break the button, or was it Dev C?</p>
</li>
<li><p><strong>The "Undo" Problem:</strong> If you make a mistake and save the file, the previous working code is gone forever.</p>
</li>
<li><p><strong>No Collaboration:</strong> After a few days, the files become so different that you can't work together anymore.</p>
</li>
</ol>
<h2 id="heading-the-solution-version-control-systemsvcss">The Solution: Version Control Systems(VCSs)</h2>
<p>So, how do we stop the madness of <code>final_</code><a target="_blank" href="http://v2.zip"><code>v2.zip</code></a>? The answer is a <strong>Version Control System (VCS).</strong></p>
<p>Think of VCS as a superpower for your code. It solves every single problem we faced in the "Pendrive Era" by introducing three major concepts:</p>
<h3 id="heading-1-the-time-machine-solves-the-undo-problem">1. The Time Machine (Solves "The Undo Problem")</h3>
<p>In the old days, if you made a mistake and saved the file, the old code was gone forever.</p>
<ul>
<li><p><strong>With VCS:</strong> It takes a <strong>snapshot</strong> (called a Commit) of your entire project every time you save.</p>
</li>
<li><p><strong>The Benefit:</strong> If the current code crashes, you can travel back in time to yesterday's version with one command.</p>
</li>
</ul>
<h3 id="heading-2-parallel-universes-solves-the-overwriting-disaster">2. Parallel Universes (Solves "The Overwriting Disaster")</h3>
<p>Remember how Dev A deleted Dev B's code by accident? VCS solves this with <strong>Branches</strong>.</p>
<ul>
<li><p><strong>How it works:</strong> Imagine creating a copy of the world. Dev A works in <em>Universe A</em> (Branch A) and Dev B works in <em>Universe B</em> (Branch B).</p>
</li>
<li><p><strong>The Benefit:</strong> Both can work on the <strong>same file</strong> at the <strong>same time</strong> without disturbing each other. When they are done, the VCS intelligently merges the universes together. No more accidental overwrites!</p>
</li>
</ul>
<h3 id="heading-3-the-central-hub-solves-the-pendrive-problem">3. The Central Hub (Solves "The Pendrive Problem")</h3>
<p>Instead of passing physical pendrives or emailing zips, everyone connects to a <strong>Central Server</strong> (like GitHub).</p>
<ul>
<li><p><strong>How it works:</strong> Dev A pushes code to the Hub -&gt; Dev B pulls it from the Hub.</p>
</li>
<li><p><strong>The Benefit:</strong> Everyone is always synced with the latest version. The "Central Hub" acts as the single source of truth.</p>
</li>
</ul>
<h3 id="heading-is-git-the-only-option-examples-of-vcs">Is Git the Only Option? (Examples of VCS)</h3>
<p>While <strong>Git</strong> is the most popular tool (used by 90% of companies), "Version Control" is a concept, and there are other tools out there:</p>
<ol>
<li><p><strong>Git (The King ):</strong> The industry standard. It’s fast, free, and distributed (everyone has a full copy of the history).</p>
</li>
<li><p><strong>SVN (Subversion):</strong> An older, centralized system. Used by some legacy enterprise companies.</p>
</li>
<li><p><strong>Perforce (Helix Core):</strong> Popular in the <strong>Gaming Industry</strong> (e.g., Ubisoft) because it handles huge art and audio files better than Git.</p>
</li>
</ol>
<h2 id="heading-conclusion-ditch-the-pendrive-embrace-the-future">Conclusion: Ditch the Pendrive, embrace the Future</h2>
<p>If you are still naming your folders <code>project_final_final_</code><a target="_blank" href="http://v2.zip"><code>v2.zip</code></a>, it is time to stop.</p>
<p>The "Pendrive Era" was full of stress, overwritten code, and broken friendships. Today, we have tools like <strong>Git</strong> that handle the chaos for us. It might feel intimidating to type commands into a black terminal screen at first, but trust me—it is a superpower every developer needs.</p>
<p><strong>The takeaway is simple:</strong></p>
<ul>
<li><p><strong>Manual Backups</strong> = Risk of losing everything.</p>
</li>
<li><p><strong>Version Control</strong> = Peace of mind and easy collaboration.</p>
</li>
</ul>
<p>So, throw away that pendrive, install Git, and type your first command: <code>git init</code>. Your future self (and your teammates) will thank you.</p>
<p><strong>Happy Coding! 💻</strong></p>
]]></content:encoded></item></channel></rss>