For example, there's the GPL license:
https://www.gnu.org/licenses/gpl-3.0.en.html
And I assume they made it themselves.
Can anybody create their own license? That is to say, can I for example create my own license under which I can license software? If so, then I have a followup question:
Can you mandate how a software will be released? For example, I'd make this kind of license:
This software is licensed under the [INSERT_NAME_LICENSE] you have the right to freely use, distribute and modify the software, under the condition that any derivative software created based on this software, or created by this software, will necessarily also use [INSERT_NAME_LICENSE] and cannot be sold.
Also, would the following clause even be legal?
Using this software you agree that any work and intellectual property based on or created with this software will be under the [INSERT_NAME_LICENSE] license, even after any and all code from this software is removed in a future update, or even if the work is rebuilt from the ground up
Basically saying that if you use software under the [INSERT_NAME_LICENSE] license to create anything, your creation will automatically be under the [INSERT_NAME_LICENSE] license, even if you completely remove all code created by the original software under [INSERT_NAME_LICENSE] in a future update, your derivative work and the intellectual property associated with it will have to be under the [INSERT_NAME_LICENSE] license. Even if they create the exact same work from scratch without the use of my software. Is that even legal?