From: Ján Waclawek Date: Thu, 22 Oct 2026 09:52:27 GMT Subject: Feature request: update password in remote URL Message-ID: It would be useful to have a Git command that replaces only the password embedded in a remote URL, preserving the username, hostname, path, and other URL components. For example: git remote set-password origin NEW_PASSWORD Security policies on various git servers stipulate to change password relatively often. Currently, if a password expires or changes, users must reconstruct the remote URL with the new password or use a script to modify it. A dedicated command would make this operation simpler and less error-prone. The command should replace only the password component and preserve all other parts of the URL unchanged. I am aware of existence of credential managers, but sometimes they are just too much. I also understand that storing passwords in remote URLs has security drawbacks, but this feature would help users who already use the embedded credentials, work with servers that require URL-based credentials and understand those drawbacks. Jan Waclawek