Hello @Niket Chandrawanshi,
The short answer is no, Git generally isn't designed for that.
The long version is that you can configure Git to behave like you described in some cases but not in all of them. And what is more important in the context of this thread, you can't configure it in Bitbucket as it doesn't provide a way to tweak required Git configuration parameters.
Let me know if you have any questions.
Atlassian University Live webinars provide you and your teams with the chance to strengthen your Atlassian product skills, and learn directly from Atlassian experts. Our next webinar is titled Conq...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events